const configArr = [
	{
        color: "brown",
        label: "全部调拨入库单",
        value: undefined,
        count: 0
    },
    {
        color: "green",
        label: "待入库",
        value: 10,
        count: 0
    },
	{
	    color: "yellow",
	    label: "已入库",
	    value: 20,
	    count: 0
	},
   
]
const filterOption = {
  items: [
    {
      label: "关键字",
      type: "input",
      data: undefined,
      placeholder: "调拨单/条码/商品编码",
      value: undefined,
      key: "keyword"
    },
    {
      label: "调拨入库类型",
      type: "dropdown",
      data: [],
      placeholder: "请选择",
      value: undefined,
      key: "type"
    },
    {
      label: "单据状态",
      type: "dropdown",
      data: [
		{
		    label: "全部调拨入库单",
		    value: ''
		},
		{
          label: "待入库",
          value: 10
        },
        {
          label: "已入库",
          value: 20
        }
      ],
      placeholder: "请选择",
      value: undefined,
      key: "status"
    },
    {
      label: "发货库位",
      type: "dropdown",
      data: [],
      placeholder: "请选择",
      value: undefined,
      key: "outWarehouseId",
			filterable:true
    },
    {
      label: "收货库位",
      type: "dropdown",
      data: [],
      placeholder: "请选择",
      value: undefined,
      key: "inWarehouseId",
			filterable:true
    },
   
    {
      label: "入库时间",
      type: "datetimerange",
      data: undefined,
      placeholder: "请选择",
      value: undefined,
      key: "creatTime"
    },
  ],
  btnGroup: [{
      label: "查询",
      type: "search"
    },
    {
      label: "清除",
      type: "clear"
    }
  ],
  close: true
};
const tableData = [
	{
		num:9928282828
	}
]
const tableHeaderData = [
	{
		prop:'typeDictValue',
		label:'入库单类型',
		width:'120'
	},
	{
		prop:'originNumber',
		label:'调拨出库单号',
		width:'160'
	},
	{
		prop:'outWareLocation',
		label:'发货仓库',
		width:'160'
	},
	{
		prop:'intWareLocation',
		label:'收货仓库',
		width:'160'
	},
	{
		prop:'statusDictValue',
		label:'入库单状态',
		width:''
	},
	{
		prop:'shouldGoodsQuantity',
		label:'应入商品数量',
		width:''
	},
	{
		prop:'actualGoodsQuantity',
		label:'实入商品数量',
		width:''
	},
	{
		prop:'operatorName',
		label:'操作人',
		width:''
	},
	{
		prop:'inSureTime',
		label:'入库日期',
		width:'160'
	},
	{
		prop:'remark',
		label:'备注',
		width:''
	},
]
//分页数据
const paginationObject = {
  currentPage: 1,
  pageSize: 1,
  pageTotal: 1,
  total:1,
  num1:1,
  num2:1
}


let Model = {
	data() {
		return {
			Model: {
				configArr,
				filterOption,
				page:{
					pageIndex:1,
					pageSize:10
				},
				tableData,
				tableHeaderData,
				paginationObject,
				TableSelectData:[],
				cardNumberAll:0,
				cardNumberwear:0,
				storeWareData:[],	//仓库下拉框
			}
		}
	}
}
export default Model;
